remove some conditions.