fix form-errors