catch nil object for contact_form on validation