an attempt to fix the timer