fixed the number of returned urls