fix for xml error