moved topic locked check to topic.reply