removing excess vectors