remove prefs from xml