cleanup config.xml