Merge pull request #50 from syohex/fix-invalid-function-call

Fix invalid function call