fix embedding of newlines