fixed nnBatch