remove categories when they contain no elements