update shard: fix compile