-Fix for parsing XML header