Fix index renamimg.