test deprecation fix