minor change in vm_helper