added non-equal link checking