corrected problem in category selection