minor bugfix

hide/show empty category