Fix an error in categories