fix missing data pointer return
Merge pull request #3 from pizthewiz/patch-1

fix missing data pointer return