delete empty terms