hide label when there are no sublayers