fix error of not opening excel file