corrected nl2p() for empty paragraphs