cleaning do_define_form