fixed bug in xml file generation
Merge remote-tracking branch 'origin/master'