removed some warnings.