fix bug on test convnet