variable is not at global scope

Change-Id: Iaaae7f1b91e8ac1c22b4b982d162b42a4a403528