corrected coding style issues