harden validations