Fix delete vector.