fix terminated vms