modify xml reader