fix to ignore NO-XML text in profile