fixed old Categorical thing