fixing warnings.