remove plug deprecation warnings