enable to quit game in the middle