fix out to xml