Fixed global variables.