removed useless code from XML export