slightly modify how xls sheet is created