fixed bindingResult.hasErrors() issue