checking on erroneous URLs