if block typo