fix bugs in topic

Signed-off-by: tengattack <tengattack@foxmail.com>