improve URL match