added defaults to validator