fix internal linking in text widget