use correct vector branch