fix category setting