fixed termco bug with a named vector of length 1