Fix Logic Typo