spectra csv are exported correctly