fixed nOfTrees fixed value issue