check xpath