cleanup configs.