format validation messages (#209)