fix shift in calibration due to 18 dark pixels