remove redundant var.