Quick fix for addVertex