fixed Vertex under linux and mac