Fix bug in table addTopic method