fix for getVertex(id) calls