cast external link to string