fix bugs for array calibration
Array Calibration fixed