Fixed segmentation error
Merge pull request #32 from jaekwon/master

Fixed segmentation error