fix a deprecate warning in bundler