fixed getAllGames()