revert back messages for validation code