how to identify a bad link