fixed up the null cases to be more descriptive
Merge pull request #9 from hongyi192/master

fixed up the null cases to be more descriptive