Modified validity of url method