fix bug for export operator