replica bug fixed, reducer num adjusted to slave num