remove global variable.

Importing gridview sets a global variable, becuse `var` is missing
before the variable. Since the variable is not used anywhere else,
I'm removing it.