fix output from endGame()