Fix shard configuration