Fix undefined variable

Change-Id: I24818fda14e968351d9fc64d9df6983a54c442c5