fixed a typo in an error message. thanks Matthieu Tourne for reporting it.