fix. global variables.