Fixes the timer