set defaults to validator