add 'validator' module to dependencies