displaying validation errors.