Fix undefined.
Merge pull request #2 from samth/master

Fix undefined.