cleaned up row dendrogram getting