fixed bug in paragraph formatting mapping