some fixes in topic modelling.