[lib] fix a bug in define_vms for hsot component