XML diagram fixed