fix for xml builder