cleanup headpin.xml