mild changes to game logic to make it more robust