making sure that a bad link ends the build