Bug fixed about category selection.