fix condition.