fix typo

Fixed typo in module name check.