issue deprecation warning