timer bug fix.