rewrite the vector format