fixing xml issues
Merge pull request #15 from griffint/better_xml

fixing xml issues