missing if, typo