changed hash to match ruby 1.9