reformat repository