bug in dicts