use element 2 to parse error

Fixes #8