I think I've fixed up a problem with quitting.