fixes #4976 repeating paragraphs