fix a bug in get_topic_info