add def_class,failed in mrb error