fix support for py26 - has no OrderedDict