fixing detaching of clusters