-fixed copy and assignment of NN