fixed bug in the xml header