last minute quit command fix