forgot to declare a boolean

Change-Id: I762e2bd5edf64ae31382a19838e78b9d52bef0fa