fix coding style errors