[FIX] handling spectra with only one datapoint