bug fix for timers