added protection to AdderGen against immediate XML reading