fixed #124: changed new hash in old hash syntax style to still be compatible with ruby 1.8.7.