fixed error with Vector() making a copy of a Vector