Fixed problem with empty var.