Fix csv export