exiting flag