Fixes bad parser in xmlobject