Replace idx -> index (clear name)