fixes jruby failure