remove dead assignment