Vertices bug fix