Fixed a small typo

The error message is not so informative.