fixed global variables