fix jruby-18mode