fix some code style issues