fix typo in conditional

remove repetition
fix typo