solve problem in showing end of paragraph