fix vector init