revert ruby 1.8 hacks