fix all warnings.