fixing xml parser