fix in clustering