uniq validation on reg