rebase window