ensure shardlevel is a number not string