cleaned up some warnings.