fixed some code style issues