change the way of exiting