Your switch should allow energy to pass through it when the pedal is pressed. So it sounds like it's not wroking properly. Replacing it should do it. If you continue to have problems after the swith is operational, then look for ground issues starting at the bulb sockets and working your way back to the switch.