modify some code format