Correct reference to wrong block variable name