fixed error message bug
Merge pull request #3 from esheldon/master

commits from esheldon
Merge pull request #7 from beckermr/master

fixed error message bug