fix merged topic id issue