fix in extractClusters