remove anused vars.