Fix: undefined var

Change-Id: I787861db812725be0cafced376fbd2d835c5187d
(cherry picked from commit 1ec153d67a4de4b70d79f3f2f4ce564a5b322f96)