fix category selection