expand tabs and reformat