fixed nshards setting