fixed a bug with showing a vertexid