hopefully fixed PWM