fix for csv export