Fixing xls format output