fix a bug in topicTermModelDriver