[MRG] fixed a small typo

The error message is not so informative.