clean up prints and linebreaks