countclock, bug: sometime count wrong