fixed variable name
(cherry picked from commit 19c80a83a2819bdac73dfe4bc08e270205a9a666)