some clean up of LDA inference