changed it back to pwm1, too tired to troubleshoot the coversion to pwm3 atm.