fixed RIMS duty cycle bug