vector cleanup