remove call to `str` here since `to_deprecated_string` already returns a string.