fixed small error with xmlstring