index rebase