fix error messages in getdata
Merge pull request #33 from TysonKerr/getdataFix

fix error messages in getdata