correct display of hook validation errors. refs #224