Fix topicName to be string instead of an array.