inhibit deprecation warning for 3rd party library