fix replication
fix urlPath issue