cleanup config.