fixed coding style issues