Get the right xpath