fix some code style errors