fix error position
Merge pull request #6 from ikokostya/fix-error-pos

fix error position