Fix generated config