bug fix with jruby fallow forum post https://www.ruby-forum.com/topic/3636709#1058565