pwm-mod: minor fix