clean up indents and linebreaks