fix form error messages