fixed an Issue with unformed XML Files