[cosmetic] cleanup some warnings.