removed a global variable

shouldn't have been there