- fix issue with generation of never ending output xml file