fix typo
condition is optional