fixed global var