Fix typo, logics