Fix the branch creation