add validator to url