Correct validation errors.