dereference pointer in  Validator