Modify some codes.