improved ir calibration flow