Fixed xml parse errors