removed game end freezing