rename category to index