modify xml parsing