check for links