fix categories index