Bug fixed. Wavelength was not returned