handle empty paragraph