change the format of some code