fix a deprecation