fix vector format