fix logic error with checking game status