bufix for jruby 1.7.4