fix compilation error in rebase setting