removed an undefined variable, fixes notice

I also checked through the history, can't figure out what the intent of this var was