bugfix: not raising DeprecationWarings