link text extraction fixes