updated URL check