fix jruby issue