fix for export