correct input spectra!