fix paragraph duplication