CRM-14657 fix backport - variable name had changed