declare exception on rebase