hotfix for return vm get_vm_ref