fix vm cannot delete.