corrected link grabber