fixing compiler warnings.