fix the bug of the get first paragraph