try to fix topicName closure issue