fast fix setCondition() error