fix p1.7 problem with pedal