clean up on the config.xml