check to see if URL works