fix copy vm.