resolve timer bug
close #7