fix setReplication super implementation.

fixed setReplicatoin super implementation, so that its one commit and merged automatically with head.