fixed a few code style issues