fix validateResponse
Merge pull request #14 from collectrium/validate

fix validateResponse