change name of global var window