handles linebreaks