minor cleanup to vec converter