Patched the axml writer to actually work