prep for switch of branch