fixed the check to see if a game