timer bug fixed