fixing the jruby support