bug when a vector was composed of a single element