Replication bug solved