valid URI check added