fixed initialization of clusters