fix category model