loadVertices bug fixed