fix for xml config