Resolving errors in links