add missing variable
Merge pull request #3963 from dimagi/caseblock

add missing variable