fixing minor warnings.