fixed timer glitch