fix config.xml errors