fix paragraph layout