typo in conditional