fixed variable declaration in gitk