minor fix for recent deprecations