game.php in-class fix