fix coding style and indentation.