fix up the broken config file generation