fix vertex selection