csv export debug