fixing game terminating bug