fix typo and python category casing