bug fix in subtypeCorrelation