address generic error parse issue
Merge pull request #13 from spasovski/formerr

address generic error parse issue