adjust some coding styles