fixed LDA hang with minibatch 1 bug