Fix orderedDict