change newline to emtpy line