fix typo, none check