eliminate unused assignment