Update loadXMLLog
Fix bug memory