bug fix

fixed corrupt excel file message