Some patch

* update code format.
* fixed some typo.