remove nagbar to exit