minor toVectorOf cleanup