fixed game not ending