Thanks, will try stretching the spring. Without the pedal in place, the switch works fine and the machine will stay switched on and then off again when it is pressed. When the pedal is added, it doesn't, which led me to think it may be the spring causing problems.