fix issue with xls file export