Fix undefined variable

Change-Id: I70c76db23c3b4651a171f87b117af7f8a5e7d0ad