support Ruby 1.8 :(