fix null handling for vertexes in VertexHopProvider