fix getVertex bug (have to use getVertices(key,value))