change hash notation to support ruby 1.8 hopefully