fixed spectrometer.load