external link cleanup