             problemWithCL = true
 
           # deal with any condition, once we get a hide_questions = false then we dont need to run through the rules
-          hideQuestions = self.setHideQuestions(condition, $conditionElement)
+          hideQuestions = self.setHideQuestions(this, $conditionElement)
 
 
           ancestorId = rule.question_id

            self.updateCalculation(rule, $ruleContainer)
          else
            self.checkConditionsAndHideShow(rule.conditions, ancestorId, $ruleContainer, $ruleContainer, inRepeater, matchType, rule)

    if problemWithCL
      e = new Error("conditional Logic # findRules")

      $(rules).each ->
        rule = this
        matchType = rule.match_type

        $(rule.conditions).each ->
          conditionQuestionId = this.question_id
          # the container for the rule element(s), could be a single element contained in form-container-entry-item or multiple in form-container-repeater
          $ruleContainer = $ruleContainer
          # the condition container
