minor timer bug fix