Changed url valudation check