resume cleanup