re-ordered options for slightly better clarity
Ensure that vid2,vid2var are always defined.