prevent annoying PendingDeprecationWarning