fix fastpulse counter