Minor changes: correct pwm offset