- fixing xml issues and a tweak to an example