max renaming to index