Hack for Rb 2.x vs 1.9