rebase core