improve the design a bit
improve the filter so that the empty paragraph won't be added