main menu Exit fix