Fix the PWM  issue (#81)