CSVExporter: fix the case when stepMode=True

fix the case when stepMode=True