Fixed local/global variable shnizzels