Sounds like the brake switch is being triggered. I'd see if the brake switch is adjustable or if something is inbetween it and the pedal.