add some func in vm_base