fix a timer call times bug