typo in conditional expression