fix dicts