Fixing vector definition