fixing build warnings.