fix double timer bug