bug fix: can not set the number of clusters