fixes for destroying vms