fix xpath error