added missing model attributes when form validation errors