crash fixed when clicking New Game