Fix undeclared var.