fix replace servers bug