fixed dendrogram input