bug fix Hierarchy Clustering