Fix undefined variable

Change-Id: I8826803a0fb77fd3250c94adfff566d4e9b26010