sorting out error in the cluster