internal:fix condition