fixed the cluster mode