fix extra paragraphs