replication bug solved