fight against of global vars