AC calibration improved