fix bug around new line breaks
fix paragraph breaks