fix parse-xml