adjust save xml file