bug fix in media link building while in topic