- check return value
Merge pull request #115 from aschnell/master

- check return value