fix bugs: delete topic action should delete counter too