treid to fix an error were xml with malformed content could not be loaded.