fix exception if no data is parsed
Merge pull request #1 from jeffbryner/master

fix exception if no data is parsed