remove unused vectors