add the topics.index empty data logic