fixed PWM garbage