[fix]typo in condition