fix typo in _error_messages