Fix replication settings.