fix csv exporter