fix the format of code