Fix category model