fix bag PWM