fixing form error messages