fix Deprecation notice: