fix null result bug
Merge pull request #52 from Cxquan/0.2

fix null result bug