clean some warnings.