fix number of replicas