fixed CSV export