fixed 1000 timer bug