formate some lines