silence some deprecation warnings