fix deprecation warning for the current dune trunk