fix the bug in excelData.py about write result