cleanup config file