fix several code style issue.