fixup! fix saveSpectrum