Fixed truncated xml header