fix typo, none check
Merge pull request #2 from fpinter/master

fix typo, none check