reformat kpeg
fix preformatted problem
fix heading section bug