fixed bug in xml helper