change struct that create xml file