fix destroy_vm