ending game fixes