changed hash to old style to support ruby 1.8.7