error checking for dead links