Fix variable names in examples

Change-Id: Ia1f2caf37ebfad634e2c42e41b20ab4f25439716