reformat
Merge pull request #858 from sijchen/md_merge145

reformat some missed style and remove unused comments