Fix categorize issue.