fix searchUrl func