fixed when replicates are created