some vector cleanup