changed an undefined variable name to stop crashing the server