fix newline using extra spaces