Fix bug in add topic