MISC: avoid deprecation warning