Fix bug DNN-5127: update the resource value by Bruce's suggestion.