fixed up game ending