reformat all lines in beautiful way