change some code styles