change pwm init