added paragraph adjustment for text