fix the zero length vector