reformat badges