fixed csv export