Fixed vm.state