fix vec return types