csv export fixed