clean some codes.