reformat branches