deleteTopic() corrections