Fixes a replication issue