checks to get proper links.