fix compatibility; keep the difference between dict and OrderedDict