fix BUGs of PWMSS (inverse duty error)