fix program exiting when wanting to skip