patch to replace vm.title with root.title