fix for exporting in excel