Fix to Vector constructor