resolve timer bug.