fixed the error for xml2obj