get rid of useless assignment