fix bug in getting the calibration result