coding style errors fixed