fix #3, issues with xml loading