fix category index