fix invocation under mruby