fixed problem where NNLM weights did not store properly