fix calibration window