fixed a file system error on ReplicaExchange