Some patch

* update code format.
* fixed some typo.

cc @poying @clonn