rm deprecation warnings; logging