Fix spelling error in deprecation message

Correct spelling error in deprecation message