Jruby fixes (maybe)