some fixes of replications