debugging calibration