tried to fix memory leak with GameData