light sensor calibration small improvement