typo in if