Fix ignoring return value.
Merge pull request #1 from fitumi/return-value-fix

Fix ignoring return value.