fixed a bug where you couldn't restart the game