need to return the error here
Merge pull request #25 from mistifyio/return-error

need to return the error