[nnet.hhn] Fixed several bugs