was not writing editid xml tree to disk, fixed bug