Fix formatting of lines