fixed nnet problem