enable to work on JRuby