another fix for the timer