fix deprecation failures and warn
Extract warning checks