fix some error in run vm.