Trouble with keyboard layout / QMK/ VIA

Layer 3 has Custom(65) for ESC, but it also has media controls for the F keys… and Im not getting media controls


I seem to be getting actual Fkeys, which seems to be layer 1 or 2 ?

layer 1 also has Custom(65) for ESC, but layer 2 has pass-through