fixing bug stemming from undefined local variable in video card