remove dead variable