clean up xml.go