added display for validation errors