sanitize instructions in instrument export