fixed timer issue when game is quit