collapse set location automatically's v6 anv v4 test into one