fix topicIndex,