fix xpath lookup