mrb: reduce mrb_ec scope