Avoid crash on "return 2"
Merge pull request #3 from myint/crash

Avoid crash on "return 2"