Fixing issues with first vertex.