fixed some coding style issues