avoiding a deprecation warning by some small cheat

found it :)