category selection fixed #20