Fixed warnings on invalid XML