All errors are replaced from the validator die, added check to the validator