modify indent and coding style