Assigning the topic_Id to variable fix

Assigning the topic_Id to variable fix