reformat headers