Fix advancedsettings.xml.