bugfix dict->defaultdict