fix bug in games.php