Fix export to xls