decode the link