Fixing path when checking links.