Excel or CSV reports are not generated clean