fix typos in wavelength discrimination