added index limit to 20 and validated url field