Fix for ruby 1.8.7
It's broken but in a good way