Deal with undefined var.