a couple of deprecation fixes

Might be good to register a new official version too.