solve some issues on paragraph and list