Avoid crash
Merge pull request #4 from mattn/avoid-crash

Avoid crash