removing unused phrases