replication fix