fixed reformation of vector