parse vector
fix Vector constructor