fix jointopics errors mentioned in previous commit.