bug for extraCalibTree (index=-1) fixed