typo, `if not type`