fix variable declaration
close console window with ctrl-w or ctrl-q