some corrections on category deselection