Fixes CSV export