displays validation errors