fix replica shard counting bug
v0.2.1