fix crash on spacebar pre-game