fixes warnings.