Since vms="", I think maybe we need main_vm = "".