! fix error handling in the game.