fix config dicts generation