fixed replicaset priority issue