fix xpath evaluate bug.