fixed wavelength plot issue