change code style and format