Fix bug with adding topics