correction errors in XML