correctly overrode form type