fix bug for getFristParagraph