config
deprecation fix