removed empty terms from list