game.php fixes