Tail light stay on

Front parked down hill? Mine did that, just the weight of the pedal moved away from the switch enough to light up the brake lights.
Probably just need to adjust the switch.